<%--
*
* 描述：公共头文件
*
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<script type="text/javascript">
			var publicPage=true;
		</script> 	
		<title><s:property value="getConfigValue('system_title')"/>-<s:property value="getConfigValue('version')"/></title>
		<%@include file="/share/header.jsp"%>
		<%@include file="/share/window.jsp"%>
		<s:head />
		<style type="text/css">
			html, body{ height:100%; overflow:hidden }
		</style>
		<script language="javascript">
			self.moveTo(0,0);
			self.resizeTo(screen.availWidth,screen.availHeight);//自动调整为满屏大小
			window.focus();//自动获取焦点
			onLoad();
			function onLoad(){
				if(top!=window){//当前页面不是容器页面，则自动把最外层页面跳转成当前页面
					top.document.location.replace(document.location);
				}
			}
		</script>	
	</head>
	<body>
		<s:actionerror/>
		<iframe id="indexFrame" name="indexFrame" src="<s:url action="index_%{getConfigValue('system_theme')}" namespace="/main" />" scrolling="no" style="margin:0;padding:0;border:0;width: 100%;height: 100%;" frameborder="no" width="100%" height="100%"></iframe>
	</body>
</html>
